package nl.depository.pim.entities;

import javax.persistence.Id;

import org.joda.time.LocalDateTime;

public class Page extends MetaNode
{
	@Id
	private String id;
	
	private String title;
	
	private EditorText contents;

	private LocalDateTime published;
	
	public String getId()
	{
		return id;
	}
	
	public String getTitle()
	{
		return title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public EditorText getContents()
	{
		return contents;
	}

	public void setContents(EditorText contents)
	{
		this.contents = contents;
	}
	
	public LocalDateTime getPublished()
	{
		return published;
	}

	public void setPublished(LocalDateTime published)
	{
		this.published = published;
	}
}
